package cn.funeralobjects.common.model.entity;

import cn.funeralobjects.common.model.DelSalt;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 带删除盐，主张软删除的的数据
 *
 * @author FuneralObjects
 * Create date: 2020/4/15 2:07 PM
 */
@Data
@Accessors(chain = true)
public abstract class BaseEntity implements DelSalt<Integer> {

    private Integer delSalt;

    @Override
    public void setDelSalt(Integer delSalt) {
        this.delSalt = delSalt;
    }
}
